package com.dgut.domain;

public class Auth {
    private String token;
    private IUser iUser;

    public Auth(String token, IUser iUser) {
        this.token = token;
        this.iUser = iUser;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public IUser getiUser() {
        return iUser;
    }

    public void setiUser(IUser iUser) {
        this.iUser = iUser;
    }

    @Override
    public String toString() {
        return "Auth{" +
                "token='" + token + '\'' +
                ", iUser=" + iUser +
                '}';
    }
}
